import request from '@/utils/request'
//收发货单位
export function queryFWPage(data) {
  return request({
    url: '/fawu/queryFawuPage',
    method: 'post',
    data,
  })
}
//收发货单位list
export function queryFWList(data) {
  return request({
    url: '/fawu/query',
    method: 'post',
    data,
  })
}

export function insertFW(data) {
  return request({
    url: '/fawu/insertFawu',
    method: 'post',
    data,
  })
}
export function updateFW(data) {
  return request({
    url: '/fawu/updateFawu',
    method: 'post',
    data,
  })
}
export function deleteFWById(data) {
  return request({
    url: '/fawu/deleteFawu',
    method: 'post',
    data,
    headers: { 'content-Type': 'multipart/form-data' },
  })
}
